package org.spring.qq_chat_java.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("chat_group")
public class chatGroup {
    @TableId(type = IdType.AUTO)
    private Long groupId;
    private String name;
    private Long creatorId;
    private String avatar;
    private String announcement;
    private int maxMembers;
    private String description;
    private LocalDateTime createdTime;
}
